package com.lb.pdm.mapper;

import com.lb.pdm.entity.HouseholdTransfer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lb.pdm.entity.vo.HouseholdTransferVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 户口迁移表 Mapper 接口
 * </p>
 *
 * @author pdm
 * @since 2025-10-29
 */
@Mapper
public interface HouseholdTransferMapper extends BaseMapper<HouseholdTransfer> {
    List<HouseholdTransferVO> listHouseholdTransferVO(@Param("name") String name,
                                                      @Param("idCard") String idCard,
                                                      @Param("applicationStatus") Byte applicationStatus,
                                                      @Param("start") Integer start,
                                                      @Param("pageSize") Integer pageSize);

    HouseholdTransferVO getHouseholdTransferDetail(@Param("id") Long id);


}
